﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Model
{
    ///<summary>
    ///合作汇总记录
    ///</summary>
    [SugarTable("DealMain")]
    public partial class DealMain
    {
           public DealMain(){


           }
           /// <summary>
           /// Desc:合作汇总记录主键
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public Guid Id {get;set;}

           /// <summary>
           /// Desc:客户信息主键
           /// Default:
           /// Nullable:True
           /// </summary>           
           public Guid? CustomerMainId {get;set;}

           /// <summary>
           /// Desc:首次成交日期
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? FirstOrderDate {get;set;}

           /// <summary>
           /// Desc:最后成交日期
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? LastOrderDate {get;set;}

           /// <summary>
           /// Desc:ERP应收账款余额
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? ERPReceivable {get;set;}

           /// <summary>
           /// Desc:发货应收账款余额
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? DeliverReceivable {get;set;}

           /// <summary>
           /// Desc:超期应收账款余额
           /// Default:
           /// Nullable:True
           /// </summary>           
           public decimal? OverdueReceivable {get;set;}

           /// <summary>
           /// Desc:超期应收账龄
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string AgingOfOverdue {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CreateUser {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? CreateTime {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ModifyUser {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? ModifyTime {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public bool? IsDeleted {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? DeletedTime {get;set;}

    }
}
